<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>{$t['title']} - {:set('title')} </title>
	<meta name="keywords" content="{$t['keywords']}">
	<meta name="description" content="{$t['description']}">
    {include file="header"}
    <link rel="stylesheet" href="*ADMIN*/wangEditor/css/wangEditor.min.css">
    <script type="text/javascript" src="*ADMIN*/wangEditor/js/wangEditor.min.js"></script>
    <div class="content-box pb-20">
        <p class="crumbs wrap">
    		<a href="/">首页</a>&gt;	
            <a href="{:url('index/model/index',array('model'=>$t.m))}">{:fun_model($t.m, 'title')}</a>&gt;	
            <a href="{:url('index/model/cate',array('alias'=>$cate.alias))}">{:fun_cate_m($t.tid, 'name')}</a>&gt;	
            <a href="" class="tiezi-title-label">{$t['title']}</a>
    	</p>
        <div class="summary wrap">
            <div class="fn-clear">
                <div class="l">
                    <img src="{$t.pic}" onerror="javascript:this.src='{:m()}/img/pic.jpg';" width="100%">
                </div>
                <!-- 基本信息 -->
                <div class="r">
                    <h1>{$t['title']}</h1>
                    <h2>{:cut_c(htmlspecialchars_decode($t['content']),80)}</h2>
                    <p class="count">已售: {:fun_st('point_note',array('tid'=>$t.id,'title'=>'付费阅读'.$t.m))}</p>
                    <p class="price ">
                        <span class="pr"><i class="iconfont">&#xe605;</i><strong>{$t['jifen']}</strong></span>
                        <span class="discount">{:set('jifen',2)}</span>
                    </p>
                    <div class="btns">	
                        {if $fufei==1}
                            <a href="javascript:;" class="link-buy del_t" name="确定要付费{$t['jifen']}{:set('jifen',2)}购买该商品吗？" url="{:url('index/api/fufei',array('id'=>$t.id,'m'=>$t.m))}"><i class="iconfont">&#xe652;</i>立即抢购</a>
                        {else/}
                        <a href="{$t['fujian']}" class="link-buy"><i class="iconfont">&#xe60c;</i>点击下载</a>
                        {/if}
                        <a href="javascript:;" class="link-add shoucang" url="{:url('index/api/shoucang',array('id'=>$t.id,'m'=>$t.m))}">{if fun_st('shoucang',array('m'=>$t.m,'tid'=>$t.id,'uid'=>user('userid')))>0}收藏成功{else/}收藏{/if}</a>
                    </div>
                </div>
            </div>
            <div class="shopcontent mt-20">
                <div class="title">
                    <div class="top-title contact-us-title">商品介绍</div>
                </div>
                <div class="n_article_tit">
                    <div class="content_p">
                        <div class="wangEditor-container" style="border: 0px solid #e6e6e6;margin-bottom: 30px">
            		        <div class="wangEditor-txt" style="padding: 0;">
                                {$t.content}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {include file="footer"}